PATH
WebObjects 4.5 Documentation >
Getting Started With Direct to Java Client
Implementing Custom Controller Classes
You can implement your own subclasses of EOController to use on the client side. To make your class known to Direct to Java Client, use the XML attribute className. You can specify your class with custom rules or by changing frozen XML. For example, the following frozen XML substitutes the CustomTextFieldController class for EOTextFieldController:
<TEXTFIELDCONTROLLER valueKey="name"
className="customapplication.client.CustomTextFieldController"/>
The EOXMLUnarchiver maps the XML tag TEXTFIELDCONTROLLER to the EOTExtFieldController by default. Specifying your custom text field controller in the className attribute tells the EOXMLUnarchiver to use your text field instead.
© 1999 Apple Computer, Inc. – (Draft. Last updated 05 Jan 00)